﻿@extends('mobile.anchor.common')
@section('title')
    <title>直播 - 奇异果聚合</title>
    <meta name="keywords" content="{{$p_cate->seo_key}}" />
    <meta name="description" content="{{$p_cate->seo_intro}}" />
@endsection
@section('content')
{{--
  <div id="video" style="margin-top:96px">
    
  </div>--}}
{{--  <div id="owner">
    <div class="avatar"><img id="avatarimg" src="images/d46c797f003bbb390ce4e060a9acc3bf.jpg"></div>
    <div class="info">
      <h2 id="hostname">园长</h2>
      <p id="roomname">【园长】在下寡妇托比昂贼6</p>
    </div>
    <div class="count" id="pnumber">344343</div>
  </div>--}}
<div style="margin-top:100px"></div>
@foreach($cates as $cate)
  <div id="recommend" >
    <a href="{{ route('anchor.cate_m', [$cate['cate']->cate_id]) }}"><p class="recommendtitle">{{ $cate['cate']->cate_name }}</p></a>
    @foreach($cate['items'] as $item)
    <div class="img_recommend_Wrap clearfix" id="recommendlist">
        <div class="img_recommend fl"><a href="{{ route('anchor.show_m', [$item->id]) }}"><img src="{{ $item->cover }}" alt="qiyiguoTV"><p class="img_mask"></p><p class="img_title">
              @if (mb_strlen($item->room_name) > 12)
                {{ mb_substr($item->room_name, 0, 11) }}..
              @else
                {{$item->room_name}}
              @endif
            </p><p class="bot_title clearfix"><span class="main_title fl">{{ $item->name }}</span><span class="people_number fr">{{ num2word($item->online) }}</span></p></a></div>
    </div>
    @endforeach
  </div>
@endforeach

@endsection

